﻿//自定义发送短信窗口
var fnMessageAdd = function ()
{
    var recordID = myDataTable.getSelectedRows()[0];
    record = myDataTable.getRecord(recordID);
    if (record == null)
    {
        alert("请选择一条记录");
        return;
    }
    document.getElementById("EditUIWindow").src = "../message/MegBack.aspx?id=" + record.getData(const_entityID) + "&r=" + Math.random() + '&ShouJi=<' + encodeURI(record.getData("UName")) + ">" + record.getData("ShouJi");
    SetDWH(500, 300, YAHOO.example.container.dialog1);
    YAHOO.example.container.dialog1.show();
    parent.NeedRefreshPage = this;
}